const ACCOUNT_API = {
    // 查询所有角色列表
    listPage: {
        method: 'get',
        url: '/user/page',
    },
    // 增加或更新
    save: {
        method: 'post',
        url: '/user'
    },
    // 删除
    delete: {
        method: 'delete',
        url: '/user'
    },
    // 判断用户名是否存在
    usernameIsExist : {
        method: 'get',
        url: '/user/exist'
    },
    // 给某些用户授权
    batchGrant: {
        method: 'post',
        url: '/user/batch-grant'
    },
    //回收全部权限
    revokeAll: {
        method: 'get',
        url: '/user/revoke-all'
    }
}

export default ACCOUNT_API